index.html.vue 89 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 广告一 -->
  8. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  9. <!-- 二级导航列表 -->
  10. <div class="nav2top"></div>
  11. <div class="nav2">
  12. <ul class="inner">
  13. <li class="home">
  14. {{ title }}
  15. </li>
  16. <li class="titleList" v-for="(item, index) in pageData" :key="index">
  17. <NuxtLink :href="getLinkPath(item)" :title="item.alias">
  18. <span class="nav2_title">{{ item.alias }}</span>
  19. </NuxtLink>
  20. </li>
  21. </ul>
  22. </div>
  23. <div class="nav2btm"></div>
  24. <!-- 第一层 -->
  25. <!-- 第一部分 -->
  26. <div class="part1">
  27. <div class="inner">
  28. <div class="part1_left" v-if="pageData[0]">
  29. <div class="part1_title">
  30. <h2 class="nav_part1_left">
  31. <NuxtLink :href="getLinkPath(pageData[0])" v-if="pageData[0]" :title="pageData[0].alias">
  32. {{ pageData[0].alias }}
  33. </NuxtLink>
  34. <em></em>
  35. </h2>
  36. </div>
  37. <div class="part1_content">
  38. <div class="context_left">
  39. <div class="top" v-for="(item, index) in pageData[0].data" :key="index">
  40. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  41. <img :src="item.imgurl" alt="item.title">
  42. <span class="title1">{{ item.title }}</span>
  43. </NuxtLink>
  44. </div>
  45. <div class="bottom">
  46. <div class="bottom_left" v-for="(item, index) in pageData[0].data1" :key="index">
  47. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  48. <img :src="item.imgurl" alt="item.title">
  49. <span class="title2">{{ item.title }}</span>
  50. </NuxtLink>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="context_right">
  55. <ul class="rightContent">
  56. <li class="context1" v-for="(item, index) in pageData[0].data2" :key="index">
  57. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  58. {{ item.title }}
  59. </NuxtLink>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="part1_right" v-if="pageData[1]">
  66. <div class="part1_right_title">
  67. <h2 class="part1_right_title1_active">
  68. <NuxtLink :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
  69. {{ pageData[1].alias }}
  70. </NuxtLink>
  71. <em class="active_bg"></em>
  72. </h2>
  73. </div>
  74. <div class="part1_right_content">
  75. <div class="part1_right_top11">
  76. <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  77. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  78. <img :src="item.imgurl" alt="item.title">
  79. <span class="content_top_title2">{{ item.title }}</span>
  80. </NuxtLink>
  81. </div>
  82. </div>
  83. <!-- <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  84. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  85. <img :src="item.imgurl" alt="item.title">
  86. <span class="content_top_title2">{{ item.title }}</span>
  87. </NuxtLink>
  88. </div> -->
  89. <ul class="part1_right_content_bottom">
  90. <li class="content_bottom_list" v-for="(item, index) in pageData[1].data1" :key="index">
  91. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  92. {{ item.title }}
  93. </NuxtLink>
  94. </li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <!-- 第二部分 -->
  101. <div class="part2">
  102. <div class="inner">
  103. <div class="part2_left" v-if="pageData[2]">
  104. <div class="part2_title">
  105. <h2 class="nav_part2_left">
  106. <NuxtLink :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
  107. {{ pageData[2].alias }}
  108. </NuxtLink>
  109. <em></em>
  110. </h2>
  111. </div>
  112. <div class="part2_content">
  113. <div class="part2_content_left">
  114. <ul class="content_a">
  115. <li class="context111" v-for="(item, index) in pageData[2].data2" :key="index">
  116. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  117. {{ item.title }}
  118. </NuxtLink>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="part2_content_right">
  123. <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
  124. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  125. <img :src="item.imgurl" alt="item.title">
  126. <span class="title11">{{ item.title }}</span>
  127. </NuxtLink>
  128. </div>
  129. <div class="right_bottom">
  130. <div class="bottom_left" v-for="(item, index) in pageData[2].data1" :key="index">
  131. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  132. <img :src="item.imgurl" alt="item.title">
  133. <span class="title22">{{ item.title }}</span>
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="part2_right" v-if="pageData[3]">
  141. <div class="part2_right_title">
  142. <h2 class="part2_right_title1_active">
  143. <NuxtLink :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
  144. {{ pageData[3].alias }}
  145. </NuxtLink>
  146. <em class="active_bg11"></em>
  147. </h2>
  148. </div>
  149. <div class="part2_right_content">
  150. <div class="part2_right_top11">
  151. <div class="part2_right_content_top" v-for="(item, index) in pageData[3].data" :key="index">
  152. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  153. <img :src="item.imgurl" alt="item.title">
  154. <span class="content_top_title22">{{ item.title }}</span>
  155. </NuxtLink>
  156. </div>
  157. </div>
  158. <ul class="part2_right_content_bottom">
  159. <li class="content_bottom_list" v-for="(item, index) in pageData[3].data2" :key="index">
  160. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  161. {{ item.title }}
  162. </NuxtLink>
  163. </li>
  164. </ul>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- 广告二 -->
  170. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  171. <!-- 第二层 -->
  172. <div class="part3" v-if="pageData[4]">
  173. <div class="inner">
  174. <div class="part3_left">
  175. <div class="part3_left_top" v-if="pageData[4]">
  176. <div class="part3_leftTitle">
  177. <h2 class="part3_left_title">
  178. <NuxtLink :href="getLinkPath(pageData[4])" v-if="pageData[4]"
  179. :title="pageData[4].alias">
  180. {{ pageData[4].alias }}
  181. </NuxtLink>
  182. <em></em>
  183. </h2>
  184. </div>
  185. <div class="part3_left_content" v-if="pageData[4]">
  186. <div class="part3_left_content_top">
  187. <div class="content_top_left">
  188. <div class="part3_photo_text" v-for="(item, index) in pageData[4].data"
  189. :key="index">
  190. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  191. <img :src="item.imgurl" alt="item.title">
  192. <span class="part3_text">{{ item.title }}</span>
  193. </NuxtLink>
  194. <span class="littleTips">精选</span>
  195. </div>
  196. <ul class="part3_content">
  197. <li class="part3_content_list" v-for="(item, index) in pageData[4].data1"
  198. :key="index">
  199. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  200. {{ item.title }}
  201. </NuxtLink>
  202. </li>
  203. </ul>
  204. </div>
  205. <ul class="content_top_right">
  206. <li class="content_right_list" v-for="(item, index) in pageData[4].data1"
  207. :key="index">
  208. <NuxtLink to="#">
  209. <div class="part3_time">
  210. <span class="month">{{ getTime(item.updated_at, 'day', 1) }}</span>
  211. <span class="xiegang">/</span>
  212. <span class="day">{{ getTime(item.updated_at, 'month', 1) }}</span>
  213. </div>
  214. <div class="time_left_content">
  215. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  216. {{ item.title }}
  217. </NuxtLink>
  218. </div>
  219. </NuxtLink>
  220. </li>
  221. </ul>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="part3_left_bottom" v-if="pageData[5] || pageData[6]">
  226. <div class="part3_leftTitle1">
  227. <h2 class="part3_left_title" v-if="pageData[5]" @mouseenter="tabsData = 1"
  228. :class="{ part3_left_title_active: tabsData == 1 }">
  229. <NuxtLink :href="getLinkPath(pageData[5])" @mouseenter="tabsData = 1"
  230. :class="{ active: tabsData == 1 }" :title="pageData[5].alias">
  231. {{ pageData[5].alias }}
  232. </NuxtLink>
  233. <em></em>
  234. </h2>
  235. <h2 class="part3_left_title" v-if="pageData[6]" @mouseenter="tabsData = 2"
  236. :class="{ part3_left_title_active: tabsData == 2 }">
  237. <NuxtLink :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="tabsData = 2"
  238. :class="{ active: tabsData == 2 }" :title="pageData[6].alias">
  239. {{ pageData[6].alias }}
  240. </NuxtLink>
  241. <em></em>
  242. </h2>
  243. </div>
  244. <div class="part3_left_content1" v-if="tabsData == 1">
  245. <div class="content_bottom_left">
  246. <div class="content_top" v-for="(item, index) in pageData[5].data" :key="index">
  247. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  248. <img :src="item.imgurl" alt="item.title">
  249. <span class="part3_text">{{ item.title }}</span>
  250. </NuxtLink>
  251. </div>
  252. <div class="content_bottom">
  253. <div class="content_bottom_1" v-for="(item, index) in pageData[5].data1"
  254. :key="index">
  255. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  256. <img :src="item.imgurl" alt="item.title">
  257. <span class="part3_text">{{ item.title }}</span>
  258. </NuxtLink>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="content_bottom_right">
  263. <ul class="bottom_content_1">
  264. <li class="bottom_content_list" v-for="(item, index) in pageData[5].data2"
  265. :key="index">
  266. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  267. {{ item.title }}
  268. </NuxtLink>
  269. </li>
  270. </ul>
  271. </div>
  272. </div>
  273. <div class="part3_left_content1" v-if="tabsData == 2 && pageData[6].alias">
  274. <div class="content_bottom_left">
  275. <div class="content_top" v-for="(item, index) in pageData[6].data" :key="index">
  276. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  277. <img :src="item.imgurl" alt="item.title">
  278. <span class="part3_text">{{ item.title }}</span>
  279. </NuxtLink>
  280. </div>
  281. <div class="content_bottom">
  282. <div class="content_bottom_1" v-for="(item, index) in pageData[6].data1"
  283. :key="index">
  284. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  285. <img :src="item.imgurl" alt="item.title">
  286. <span class="part3_text">{{ item.title }}</span>
  287. </NuxtLink>
  288. </div>
  289. </div>
  290. </div>
  291. <div class="content_bottom_right">
  292. <ul class="bottom_content_1">
  293. <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
  294. :key="index">
  295. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  296. {{ item.title }}
  297. </NuxtLink>
  298. </li>
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="part3_right" v-if="pageData[7]">
  305. <div class="part3_rightTitle">
  306. <h2 class="part3_right_title">
  307. <NuxtLink :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
  308. {{ pageData[7].alias }}
  309. </NuxtLink>
  310. <em></em>
  311. </h2>
  312. <div class="rightMore">
  313. <NuxtLink to="#">更多》</NuxtLink>
  314. </div>
  315. </div>
  316. <ul class="part3_right_content_top" v-if="pageData[7].data1.length > 0">
  317. <li class="part3_right_contentlist_top" v-for="(item, index) in pageData[7].data1" :key="index">
  318. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  319. <span class="numStyle">{{ index + 1 }}</span>
  320. {{ item.title }}
  321. </NuxtLink>
  322. </li>
  323. </ul>
  324. <div class="part3_photo_text_right" v-if="pageData[7].data[0]">
  325. <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
  326. <span class="part3_text11">{{ pageData[7].data[0].title }}</span>
  327. <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
  328. </NuxtLink>
  329. </div>
  330. <ul class="part3_right_content_11" v-if="pageData[7].data2.length > 0">
  331. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data2" :key="index">
  332. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  333. {{ item.title }}
  334. </NuxtLink>
  335. </li>
  336. </ul>
  337. <div class="part3_photo_text_right" v-if="pageData[7].data[1]">
  338. <NuxtLink :href="getLinkPathDetail(pageData[7].data[1])" :title="pageData[7].data[1].title">
  339. <span class="part3_text11">{{ pageData[7].data[1].title }}</span>
  340. <img :src="pageData[7].data[1].imgurl" :alt="pageData[7].data[1].title">
  341. </NuxtLink>
  342. </div>
  343. <ul class="part3_right_content_11">
  344. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data3" :key="index">
  345. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  346. {{ item.title }}
  347. </NuxtLink>
  348. </li>
  349. </ul>
  350. <div class="part3_photo_text_right" v-if="pageData[7].data[2]">
  351. <NuxtLink :href="getLinkPathDetail(pageData[7].data[2])" :title="pageData[7].data[2].title">
  352. <span class="part3_text11">{{ pageData[7].data[2].title }}</span>
  353. <img :src="pageData[7].data[2].imgurl" :alt="pageData[7].data[2].title">
  354. </NuxtLink>
  355. </div>
  356. <ul class="part3_right_content_11">
  357. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data4" :key="index">
  358. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  359. {{ item.title }}
  360. </NuxtLink>
  361. </li>
  362. </ul>
  363. </div>
  364. </div>
  365. </div>
  366. <!-- 页脚部分 -->
  367. <HomeFoot1></HomeFoot1>
  368. </div>
  369. </template>
  370. <script setup>
  371. //0.加载页面依赖 start ---------------------------------------->
  372. import { ref, onMounted } from 'vue';
  373. //格式化跳转路径 - 标题
  374. //首页分类栏目标题,不需要考虑外链
  375. const getLinkPath = (item) => {
  376. // console.log('item111333',item)
  377. // return `/${item.url}/1.html`;
  378. // return `/newsList/${item.cid}?page=1`;
  379. return `/${item.aLIas_pinyin}/list-1.html`;
  380. }
  381. //首页跳转到详情,这里需要考虑外链
  382. const getLinkPathDetail = (item) => {
  383. // console.log('item111222', item)
  384. if (item.islink == 1) {
  385. return `${item.linkurl}`;
  386. } else {
  387. //return `/${item.aLIas_pinyin}/${item.id}`;
  388. // return `/newsDetail/${item.id}?page=1`
  389. return `/${item.pinyin}/${item.id}.html`;
  390. }
  391. }
  392. //0.加载页面依赖 end ---------------------------------------->
  393. //1.获得路由id start ---------------------------------------->
  394. const route = useRoute();
  395. //获得当前的完整路径
  396. const fullPath = route.path;
  397. //拆分,取出来中间这一段,然后提取数字部分
  398. const segments = fullPath.split('/');
  399. const targetSegment = segments[1];
  400. //let routeId = 11 //排除路径错误可以打开这个
  401. //const numberPart = targetSegment.match(/\d+$/)?.[0];
  402. //let routeId = numberPart;
  403. let routeId;
  404. //通过导航路径反向查询导航id
  405. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  406. method: 'GET',
  407. query: {
  408. 'pinyin': targetSegment,
  409. },
  410. });
  411. if (getRouteId.code == 200) {
  412. routeId = getRouteId.data.category_id
  413. } else {
  414. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  415. console.log("错误位置:通过url路径查询导航池id")
  416. console.log("后端错误反馈:", getRouteId.message)
  417. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  418. }
  419. //1.获得路由id end ---------------------------------------->
  420. //2.页面交互效果 start ---------------------------------------->
  421. //2.1
  422. const title = ref("")
  423. const tabsData = ref(1)
  424. async function getPageDataTitle() {
  425. const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
  426. method: 'GET',
  427. query: {
  428. 'catid': routeId,
  429. },
  430. });
  431. if (mkdata.code == 200) {
  432. title.value = mkdata.data.alias;
  433. } else {
  434. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  435. console.log("错误位置:获取二级标题")
  436. console.log("后端错误反馈:", mkdata.message)
  437. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  438. }
  439. }
  440. getPageDataTitle();
  441. //2.1 新闻图片切换
  442. const hoverStatus = ref(0)
  443. const qhPic = function (num) {
  444. console.log(num)
  445. hoverStatus.value = num;
  446. }
  447. //2.2 选项卡切换
  448. let showTabs = ref(1)
  449. let qhtabs = function (number) {
  450. console.log(number)
  451. showTabs.value = number
  452. }
  453. //2.3 展示广告
  454. let adImg1 = ref({})
  455. let adImg2 = ref({})
  456. let adImg3 = ref({})
  457. let adImg4 = ref({})
  458. onMounted(async () => {
  459. //从客户端获取行政职能部门 加快打开速度
  460. const { $webUrl, $CwebUrl } = useNuxtApp();
  461. //广告1
  462. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0001`
  463. const responseAd1 = await fetch(url, {
  464. headers: {
  465. 'Content-Type': 'application/json',
  466. 'Userurl': $CwebUrl,
  467. 'Origin': $CwebUrl
  468. }
  469. });
  470. const resultAd1 = await responseAd1.json();
  471. adImg1.value = resultAd1.data[0];
  472. //广告2
  473. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0002`
  474. const responseAd2 = await fetch(url2, {
  475. headers: {
  476. 'Content-Type': 'application/json',
  477. 'Userurl': $CwebUrl,
  478. 'Origin': $CwebUrl
  479. }
  480. });
  481. const resultAd2 = await responseAd2.json();
  482. adImg2.value = resultAd2.data[0];
  483. //广告3
  484. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0003`
  485. const responseAd3 = await fetch(url3, {
  486. headers: {
  487. 'Content-Type': 'application/json',
  488. 'Userurl': $CwebUrl,
  489. 'Origin': $CwebUrl
  490. }
  491. });
  492. const resultAd3 = await responseAd3.json();
  493. adImg3.value = resultAd3.data[0];
  494. //广告4
  495. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0004`
  496. const responseAd4 = await fetch(url4, {
  497. headers: {
  498. 'Content-Type': 'application/json',
  499. 'Userurl': $CwebUrl,
  500. 'Origin': $CwebUrl
  501. }
  502. });
  503. const resultAd4 = await responseAd4.json();
  504. adImg4.value = resultAd4.data[0];
  505. })
  506. //2.页面交互效果 end ---------------------------------------->
  507. //3.渲染页面数据 start ---------------------------------------->
  508. //3.1 该页面上所有的导航池 转为动态数据
  509. const pageCategory = ref([]);
  510. //3.2 该页面上需要渲染的所有数据
  511. const pageData = ref([
  512. // { id: 0, data: [], data2: [], title: "", cid: "" },
  513. // { id: 1, data: [], title: "", cid: "" },
  514. // { id: 2, data: [], title: "", cid: "" },
  515. // { id: 3, data: [], title: "", cid: "" },
  516. // { id: 4, data: [], title: "", cid: "" },
  517. // { id: 5, data: [], title: "", cid: "" },
  518. // { id: 6, data: [], title: "", cid: "" },
  519. // { id: 7, data: [], title: "", cid: "" },
  520. // { id: 8, data: [], title: "", cid: "" },
  521. ])
  522. const navSize = ref("");
  523. //3.3 获取所有导航
  524. try {
  525. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  526. method: 'GET',
  527. query: {
  528. 'placeid': 1,
  529. 'pid': routeId,
  530. 'num': 8
  531. },
  532. });
  533. if (navigateData.code == 200) {
  534. // 遍历可用的导航池放到页面中
  535. for (let index in navigateData.data) {
  536. let data = {
  537. title: navigateData.data[index].name,
  538. cid: navigateData.data[index].category_id,
  539. children_count: navigateData.data[index].children_count,
  540. alias: navigateData.data[index].alias,
  541. aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
  542. data: [],
  543. data1: [],
  544. data2: [],
  545. data3: [],
  546. data4: [],
  547. category_id1: "",
  548. category_id2: "",
  549. category_id3: "",
  550. category_id4: "",
  551. title1: "",
  552. title2: "",
  553. title3: "",
  554. title4: ""
  555. };
  556. if (navigateData.data[index].is_url == 1) {
  557. // 处理 URL 的逻辑
  558. } else {
  559. //每个页面最多8个模块
  560. pageData.value.push(data);
  561. }
  562. }
  563. //导航池加载完毕,开始申请模块数据
  564. // await getPageData1();
  565. // await getPageData2();
  566. // await getPageData3();
  567. // await getPageData4();
  568. // await getPageData5();
  569. // await getPageData6();
  570. // await getPageData7();
  571. // await getPageData8();
  572. let getJson = [
  573. // { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",3,10" },//模块1理论前沿
  574. // { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",2,6" },//模块2典型经验
  575. // { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",3,10" },//模块3农业天地
  576. // { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",2,6" },//模块4美丽乡村
  577. // { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,10" },//模块5农民之家
  578. // { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",3,10" },//模块6农业天地
  579. // { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",3,10" },//模块7农村建设
  580. // { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",3,13" },//模块8高端资讯
  581. ]
  582. for (let i = 0; i < pageData.value.length; i++) {
  583. if (i == 0) {
  584. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  585. } else if (i == 1) {
  586. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  587. } else if (i == 2) {
  588. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  589. } else if (i == 3) {
  590. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  591. } else if (i == 4) {
  592. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,10" });
  593. } else if (i == 5) {
  594. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  595. } else if (i == 6) {
  596. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  597. } else if (i == 7) {
  598. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,13" });
  599. }
  600. }
  601. let jsonString = JSON.stringify(getJson);
  602. // console.log("jsonString", getJson);
  603. getPageAllData(jsonString);
  604. } else {
  605. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  606. console.log("错误位置:分类页导航池")
  607. console.log("后端错误反馈:", navigateData.message)
  608. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  609. }
  610. } catch (error) {
  611. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  612. console.log("错误位置:分类页导航渲染阶段")
  613. console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
  614. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  615. }
  616. async function getPageAllData(jsonString) {
  617. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  618. method: 'GET',
  619. query: {
  620. 'id': jsonString
  621. },
  622. });
  623. if (mkdata.code == 200) {
  624. console.log(778899)
  625. console.log(mkdata.data)
  626. //模块1理论前沿
  627. if (mkdata.data[0].child.imgnum.length > 0) {
  628. pageData.value[0].data.push(mkdata.data[0].child.imgnum[0]);
  629. }
  630. if (mkdata.data[0].child.imgnum.length > 1) {
  631. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[1]);
  632. }
  633. if (mkdata.data[0].child.imgnum.length > 2) {
  634. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[2]);
  635. }
  636. if (mkdata.data[0].child.textnum) {
  637. pageData.value[0].data2 = mkdata.data[0].child.textnum;
  638. }
  639. //模块2典型经验
  640. if (mkdata.data[1].child.imgnum) {
  641. pageData.value[1].data = mkdata.data[1].child.imgnum;
  642. }
  643. if (mkdata.data[1].child.textnum) {
  644. pageData.value[1].data1 = mkdata.data[1].child.textnum;
  645. }
  646. //模块3农业天地
  647. if (mkdata.data[2].child.imgnum.length > 0) {
  648. pageData.value[2].data.push(mkdata.data[2].child.imgnum[0]);
  649. }
  650. if (mkdata.data[2].child.imgnum.length > 1) {
  651. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[1]);
  652. }
  653. if (mkdata.data[2].child.imgnum.length > 2) {
  654. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[2]);
  655. }
  656. pageData.value[2].data2 = mkdata.data[2].child.textnum;
  657. //模块4美丽乡村
  658. pageData.value[3].data = mkdata.data[3].child.imgnum;
  659. pageData.value[3].data2 = mkdata.data[3].child.textnum;
  660. //模块5农民之家
  661. pageData.value[4].data = mkdata.data[4].child.imgnum;
  662. for (let i in mkdata.data[4].child.textnum) {
  663. if (i < 5) {
  664. pageData.value[4].data1.push(mkdata.data[4].child.textnum[i]);
  665. } else {
  666. pageData.value[4].data2.push(mkdata.data[4].child.textnum[i]);
  667. }
  668. }
  669. //模块6农业天地
  670. if (mkdata.data[5].child.imgnum.length > 0) {
  671. pageData.value[5].data.push(mkdata.data[5].child.imgnum[0]);
  672. }
  673. if (mkdata.data[5].child.imgnum.length > 1) {
  674. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[1]);
  675. }
  676. if (mkdata.data[5].child.imgnum.length > 2) {
  677. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[2]);
  678. }
  679. pageData.value[5].data2 = mkdata.data[5].child.textnum;
  680. //模块7农村建设
  681. if (mkdata.data[6].child.imgnum.length > 0) {
  682. pageData.value[6].data.push(mkdata.data[6].child.imgnum[0]);
  683. }
  684. if (mkdata.data[6].child.imgnum.length > 1) {
  685. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[1]);
  686. }
  687. if (mkdata.data[6].child.imgnum.length > 2) {
  688. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[2]);
  689. }
  690. pageData.value[6].data2 = mkdata.data[6].child.textnum;
  691. //模块8高端资讯
  692. pageData.value[7].data2 = mkdata.data[7].child.imgnum;
  693. for (let i in mkdata.data[4].child.textnum) {
  694. if (i < 7) {
  695. pageData.value[7].data1.push(mkdata.data[4].child.textnum[i]);
  696. } else if (i < 9) {
  697. pageData.value[7].data2.push(mkdata.data[4].child.textnum[i]);
  698. } else if (i < 11) {
  699. pageData.value[7].data3.push(mkdata.data[4].child.textnum[i]);
  700. } else {
  701. pageData.value[7].data4.push(mkdata.data[4].child.textnum[i]);
  702. }
  703. }
  704. } else {
  705. ElMessage.error(mkdata.message)
  706. }
  707. }
  708. //获得模块数据
  709. // async function getPageData(catid, img_num, text_num, modulesNum, childNavNum, childImgNum, childTextNum) {
  710. // const mkdata = await requestDataPromise('/web/getWebsiteCatidArticle', {
  711. // method: 'GET',
  712. // query: {
  713. // 'catid': catid, //catid
  714. // 'img_num': img_num, //图片数量
  715. // 'text_num': text_num, //文字数量
  716. // 'child_catnum': childNavNum,//子级栏目菜单数量
  717. // 'child_imgnum': childImgNum,//子栏目展示图片新闻数量
  718. // 'child_textnum': childTextNum//子栏目展示文字新闻数量
  719. // },
  720. // });
  721. // if (modulesNum == 1) {
  722. // for (let i in mkdata.data.img) {
  723. // if (i < 1) {
  724. // pageData.value[0].data.push(mkdata.data.img[i]);
  725. // } else {
  726. // pageData.value[0].data1.push(mkdata.data.img[i]);
  727. // }
  728. // }
  729. // pageData.value[0].data2 = mkdata.data.text;
  730. // }
  731. // if (modulesNum == 2) {
  732. // pageData.value[1].data = mkdata.data.img;
  733. // pageData.value[1].data1 = mkdata.data.text;
  734. // }
  735. // if (modulesNum == 3) {
  736. // for (let i in mkdata.data.img) {
  737. // if (i < 1) {
  738. // pageData.value[2].data.push(mkdata.data.img[i]);
  739. // } else {
  740. // pageData.value[2].data1.push(mkdata.data.img[i]);
  741. // }
  742. // }
  743. // pageData.value[2].data2 = mkdata.data.text;
  744. // }
  745. // if (modulesNum == 4) {
  746. // pageData.value[3].data = mkdata.data.img;
  747. // pageData.value[3].data2 = mkdata.data.text;
  748. // }
  749. // //模块5
  750. // if (modulesNum == 5) {
  751. // pageData.value[4].data = mkdata.data.img;
  752. // for (let i in mkdata.data.text) {
  753. // if (i < 5) {
  754. // pageData.value[4].data1.push(mkdata.data.text[i]);
  755. // } else {
  756. // pageData.value[4].data2.push(mkdata.data.text[i]);
  757. // }
  758. // }
  759. // }
  760. // if (modulesNum == 6) {
  761. // for (let i in mkdata.data.img) {
  762. // if (i < 1) {
  763. // pageData.value[5].data.push(mkdata.data.img[i]);
  764. // } else {
  765. // pageData.value[5].data1.push(mkdata.data.img[i]);
  766. // }
  767. // }
  768. // pageData.value[5].data2 = mkdata.data.text;
  769. // }
  770. // if (modulesNum == 7) {
  771. // for (let i in mkdata.data.img) {
  772. // if (i < 1) {
  773. // pageData.value[6].data.push(mkdata.data.img[i]);
  774. // } else {
  775. // pageData.value[6].data1.push(mkdata.data.img[i]);
  776. // }
  777. // }
  778. // pageData.value[6].data2 = mkdata.data.text;
  779. // }
  780. // //模块8
  781. // if (modulesNum == 8) {
  782. // pageData.value[7].data = mkdata.data.img;
  783. // for (let i in mkdata.data.text) {
  784. // if (i < 7) {
  785. // pageData.value[7].data1.push(mkdata.data.text[i]);
  786. // } else if (i < 9) {
  787. // pageData.value[7].data2.push(mkdata.data.text[i]);
  788. // } else if (i < 11) {
  789. // pageData.value[7].data3.push(mkdata.data.text[i]);
  790. // } else {
  791. // pageData.value[7].data4.push(mkdata.data.text[i]);
  792. // }
  793. // }
  794. // }
  795. // }
  796. //新农村
  797. //模块1 理论前沿
  798. // async function getPageData1() {
  799. // await getPageData(pageData.value[0].cid, 3, 10, 1, 0, 0, 0);
  800. // }
  801. // //模块2 典型经验
  802. // async function getPageData2() {
  803. // await getPageData(pageData.value[1].cid, 2, 6, 2, 0, 0, 0);
  804. // }
  805. // //模块3 农业天地
  806. // async function getPageData3() {
  807. // await getPageData(pageData.value[2].cid, 3, 10, 3, 0, 0, 0);
  808. // }
  809. // //模块4 美丽乡村
  810. // async function getPageData4() {
  811. // await getPageData(pageData.value[3].cid, 2, 6, 4, 0, 0, 0);
  812. // }
  813. // //模块5 农民之家
  814. // async function getPageData5() {
  815. // await getPageData(pageData.value[4].cid, 1, 10, 5, 0, 0, 0);
  816. // }
  817. // //模块6 农业天地
  818. // async function getPageData6() {
  819. // await getPageData(pageData.value[5].cid, 3, 10, 6, 0, 0, 0);
  820. // }
  821. // //模块7 农村建设
  822. // async function getPageData7() {
  823. // await getPageData(pageData.value[6].cid, 3, 10, 7, 0, 0, 0);
  824. // }
  825. // //模块8 高端资讯
  826. // async function getPageData8() {
  827. // await getPageData(pageData.value[7].cid, 3, 13, 8, 0, 0, 0);
  828. // }
  829. // 注意,为了保持模块的数量,当前固定为8个
  830. // 所以这里的农业天地,合并了原来是下面的7号模块
  831. // 而原本是7号模块的地方现在变成了8号模块
  832. //3.渲染页面数据 end ---------------------------------------->
  833. //4.设置seo信息 start---------------------------------------->
  834. //4.1 设置seo信息
  835. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  836. method: 'GET',
  837. query: {
  838. 'catid': routeId
  839. },
  840. });
  841. if (setData.code == 200) {
  842. let seoTitle = setData.data.seo_title;
  843. let seoDescription = setData.data.seo_description;
  844. let seoKeywords = setData.data.seo_keywords;
  845. let seoSuffix = setData.data.suffix;
  846. let seoName = setData.data.website_name;
  847. useSeoMeta({
  848. title: seoTitle + "_" + seoSuffix,
  849. meta: [
  850. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  851. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  852. ]
  853. });
  854. } else {
  855. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  856. console.log("错误位置:设置分类页面SEO数据")
  857. console.log("后端错误反馈:", setData.message)
  858. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  859. }
  860. //4.设置seo信息 end---------------------------------------->
  861. //5. 获取日期中单独的年 月 日 start--------------------------->
  862. function getTime(date, part, digits) {
  863. const d = new Date(date);
  864. if (part === 'year') {
  865. let year = d.getFullYear();
  866. if (digits === 2) {
  867. return String(year).slice(-2);
  868. }
  869. return year;
  870. } else if (part === 'month') {
  871. let month = d.getMonth() + 1;
  872. if (digits === 2) {
  873. return String(month).padStart(2, '0');
  874. }
  875. if (month < 10) {
  876. month = '0' + month;
  877. } else {
  878. month = month;
  879. }
  880. return month;
  881. } else if (part === 'day') {
  882. let day = d.getDate();
  883. if (digits === 2) {
  884. return String(day).padStart(2, '0');
  885. }
  886. return day;
  887. }
  888. return null;
  889. }
  890. //5. 获取日期中单独的年 月 日 end------------------------------>
  891. </script>
  892. <style lang="less" scoped>
  893. // 一级标题
  894. .nav1 {
  895. width: 100%;
  896. height: 214px;
  897. background: #fff;
  898. .inner {
  899. width: 1200px;
  900. height: 214px;
  901. margin: 0 auto;
  902. .nav1_title {
  903. width: 1120px;
  904. height: 214px;
  905. margin-left: 40px;
  906. line-height: 217px;
  907. text-align: center;
  908. font-family: DingTalk JinBuTi, DingTalk JinBuTi;
  909. font-weight: 400;
  910. font-size: 50px;
  911. color: #6D2512;
  912. background: url(/_nuxt/public/index/title_bg.png) no-repeat 0;
  913. }
  914. }
  915. }
  916. .nav2top {
  917. width: 1250px;
  918. height: 3px;
  919. margin: 0 auto;
  920. background-color: #a01c0e;
  921. }
  922. .nav2btm {
  923. width: 1200px;
  924. height: 3px;
  925. margin: 0 auto;
  926. background-color: #a01c0e;
  927. }
  928. .nav2 {
  929. width: 100%;
  930. height: 48px;
  931. background-color: #a01c0e;
  932. .inner {
  933. width: 1250px;
  934. height: 48px;
  935. line-height: 48px;
  936. padding: 0 45px;
  937. margin: 0 auto;
  938. box-sizing: border-box;
  939. display: flex;
  940. // justify-content: space-between;
  941. .titleList {
  942. font-family: Microsoft YaHei, Microsoft YaHei;
  943. font-weight: bold;
  944. font-size: 14px;
  945. color: #FFFFFF;
  946. .nav2_title {
  947. display: inline-block;
  948. font-family: Microsoft YaHei, Microsoft YaHei;
  949. font-weight: bold;
  950. font-size: 14px;
  951. color: #FFFFFF;
  952. }
  953. a {
  954. padding: 0 38px;
  955. color: #FFFFFF;
  956. border-left: 1px solid #7E1C11;
  957. }
  958. //鼠标点击后的样式
  959. .nav2_title_active {
  960. display: inline-block;
  961. font-family: Microsoft YaHei, Microsoft YaHei;
  962. font-weight: bold;
  963. font-size: 14px;
  964. color: #FFFFFF;
  965. border-bottom: 1px solid #FFFFFF;
  966. }
  967. }
  968. .titleList:hover {
  969. a {
  970. color: #a01c0e;
  971. .nav2_title {
  972. border-bottom: 1px solid #FFFFFF;
  973. }
  974. }
  975. }
  976. .home {
  977. width: 100px;
  978. font-family: Microsoft YaHei, Microsoft YaHei;
  979. font-weight: bold;
  980. font-size: 14px;
  981. color: #F8ECD2;
  982. }
  983. }
  984. }
  985. //第一部分
  986. .part1 {
  987. width: 100%;
  988. height: 585px;
  989. margin-top: 35px;
  990. .inner {
  991. width: 1200px;
  992. margin: 0 auto;
  993. .part1_left {
  994. float: left;
  995. width: 720px;
  996. .part1_title {
  997. width: 720px;
  998. height: 50px;
  999. line-height: 50px;
  1000. .nav_part1_left {
  1001. float: left;
  1002. font-family: Microsoft YaHei, Microsoft YaHei;
  1003. font-weight: 400;
  1004. font-size: 20px;
  1005. color: #333333;
  1006. position: relative;
  1007. a {
  1008. color: #333333;
  1009. }
  1010. em {
  1011. display: inline-block;
  1012. width: 8px;
  1013. height: 8px;
  1014. background-color: #a01c0e;
  1015. border-radius: 4px;
  1016. position: absolute;
  1017. top: 5px;
  1018. }
  1019. }
  1020. }
  1021. .part1_content {
  1022. width: 720px;
  1023. margin-top: 20px;
  1024. .context_left {
  1025. float: left;
  1026. width: 350px;
  1027. .top {
  1028. width: 350px;
  1029. img {
  1030. width: 350px;
  1031. height: 230px;
  1032. }
  1033. a .title1 {
  1034. margin-top: 15px;
  1035. width: 350px;
  1036. height: 48px;
  1037. display: -webkit-box;
  1038. -webkit-box-orient: vertical;
  1039. -webkit-line-clamp: 2;
  1040. overflow: hidden;
  1041. text-overflow: ellipsis;
  1042. word-break: break-all;
  1043. font-family: Microsoft YaHei, Microsoft YaHei;
  1044. font-weight: bold;
  1045. font-size: 18px;
  1046. color: #333333;
  1047. }
  1048. }
  1049. .top:hover {
  1050. a .title1 {
  1051. color: #a01c0e;
  1052. }
  1053. }
  1054. .bottom {
  1055. width: 350px;
  1056. margin-top: 25px;
  1057. .bottom_left {
  1058. float: left;
  1059. width: 165px;
  1060. img {
  1061. width: 165px;
  1062. height: 96px;
  1063. }
  1064. a .title2 {
  1065. margin-top: 10px;
  1066. width: 165px;
  1067. height: 48px;
  1068. display: -webkit-box;
  1069. -webkit-box-orient: vertical;
  1070. -webkit-line-clamp: 2;
  1071. overflow: hidden;
  1072. text-overflow: ellipsis;
  1073. word-break: break-all;
  1074. font-family: Microsoft YaHei, Microsoft YaHei;
  1075. font-weight: 400;
  1076. font-size: 18px;
  1077. color: #333333;
  1078. }
  1079. }
  1080. .bottom_left:first-child {
  1081. margin-right: 20px;
  1082. }
  1083. }
  1084. .bottom_left:hover {
  1085. a .title2 {
  1086. color: #a01c0e;
  1087. }
  1088. }
  1089. }
  1090. .context_right {
  1091. float: right;
  1092. width: 350px;
  1093. .rightContent {
  1094. width: 350px;
  1095. height: 230px;
  1096. .context1:nth-child(5n+1) {
  1097. width: 345px;
  1098. white-space: nowrap;
  1099. overflow: hidden;
  1100. text-overflow: ellipsis;
  1101. font-family: Microsoft YaHei, Microsoft YaHei;
  1102. font-weight: bold;
  1103. font-size: 18px;
  1104. color: #333333;
  1105. a {
  1106. color: #333333;
  1107. }
  1108. }
  1109. .context1:nth-child(5n+1):hover a {
  1110. color: #a01c0e;
  1111. }
  1112. .context1 {
  1113. margin-bottom: 27px;
  1114. width: 345px;
  1115. white-space: nowrap;
  1116. overflow: hidden;
  1117. text-overflow: ellipsis;
  1118. font-family: Microsoft YaHei, Microsoft YaHei;
  1119. font-weight: 400;
  1120. font-size: 18px;
  1121. color: #333333;
  1122. a {
  1123. color: #333333;
  1124. }
  1125. }
  1126. .context1:hover a {
  1127. color: #a01c0e;
  1128. }
  1129. }
  1130. }
  1131. }
  1132. }
  1133. .part1_right {
  1134. float: right;
  1135. width: 450px;
  1136. // height: 1000px;
  1137. .part1_right_title {
  1138. width: 450px;
  1139. height: 50px;
  1140. line-height: 50px;
  1141. .part1_right_title1_active {
  1142. float: left;
  1143. margin-right: 40px;
  1144. font-family: Microsoft YaHei, Microsoft YaHei;
  1145. font-weight: 400;
  1146. font-size: 20px;
  1147. color: #333333;
  1148. position: relative;
  1149. a {
  1150. color: #333333;
  1151. }
  1152. .active_bg {
  1153. display: inline-block;
  1154. width: 8px;
  1155. height: 8px;
  1156. background-color: #a01c0e;
  1157. border-radius: 4px;
  1158. position: absolute;
  1159. top: 7px;
  1160. right: -5px;
  1161. }
  1162. }
  1163. .part1_right_title1 {
  1164. float: left;
  1165. margin-right: 40px;
  1166. font-family: Microsoft YaHei, Microsoft YaHei;
  1167. font-weight: 400;
  1168. font-size: 20px;
  1169. color: #999999;
  1170. position: relative;
  1171. a {
  1172. color: #999999;
  1173. }
  1174. }
  1175. }
  1176. .part1_right_content {
  1177. width: 450px;
  1178. // height: 940px;
  1179. margin-top: 20px;
  1180. .part1_right_top11 {
  1181. width: 450px;
  1182. height: 180px;
  1183. position: relative;
  1184. .part1_right_content_top {
  1185. float: left;
  1186. width: 220px;
  1187. height: 180px;
  1188. a img {
  1189. width: 220px;
  1190. height: 130px;
  1191. }
  1192. a .content_top_title2 {
  1193. display: inline-block;
  1194. width: 220px;
  1195. padding: 0 10px;
  1196. box-sizing: border-box;
  1197. white-space: nowrap;
  1198. overflow: hidden;
  1199. text-overflow: ellipsis;
  1200. font-family: Microsoft YaHei, Microsoft YaHei;
  1201. font-weight: 400;
  1202. font-size: 18px;
  1203. color: #333333;
  1204. margin-top: 10px;
  1205. }
  1206. }
  1207. .part1_right_content_top:hover {
  1208. a .content_top_title2 {
  1209. color: #a01c0e;
  1210. }
  1211. }
  1212. .part1_right_content_top:nth-child(2) {
  1213. margin-left: 10px;
  1214. }
  1215. }
  1216. .part1_right_content_bottom {
  1217. width: 450px;
  1218. height: 300px;
  1219. margin-top: 15px;
  1220. overflow: hidden;
  1221. .content_bottom_list {
  1222. width: 450px;
  1223. height: 22px;
  1224. line-height: 21px;
  1225. white-space: nowrap;
  1226. overflow: hidden;
  1227. text-overflow: ellipsis;
  1228. margin-bottom: 28px;
  1229. font-family: Microsoft YaHei, Microsoft YaHei;
  1230. font-weight: 400;
  1231. font-size: 18px;
  1232. color: #333333;
  1233. a {
  1234. color: #333333;
  1235. }
  1236. }
  1237. .content_bottom_list:hover {
  1238. a {
  1239. color: #a01c0e;
  1240. }
  1241. }
  1242. }
  1243. }
  1244. }
  1245. }
  1246. }
  1247. //第二部分
  1248. .part2 {
  1249. width: 100%;
  1250. overflow: hidden;
  1251. // margin-bottom: 40px;
  1252. .inner {
  1253. width: 1200px;
  1254. margin: 0 auto;
  1255. .part2_left {
  1256. float: left;
  1257. width: 720px;
  1258. .part2_title {
  1259. width: 720px;
  1260. height: 50px;
  1261. line-height: 50px;
  1262. .nav_part2_left {
  1263. float: left;
  1264. width: 100px;
  1265. font-family: Microsoft YaHei, Microsoft YaHei;
  1266. font-weight: 400;
  1267. font-size: 20px;
  1268. color: #333333;
  1269. position: relative;
  1270. a {
  1271. color: #333333;
  1272. }
  1273. em {
  1274. display: inline-block;
  1275. width: 8px;
  1276. height: 8px;
  1277. background-color: #a01c0e;
  1278. border-radius: 4px;
  1279. position: absolute;
  1280. top: 9px;
  1281. right: 6px;
  1282. }
  1283. }
  1284. }
  1285. .part2_content {
  1286. width: 720px;
  1287. margin-top: 20px;
  1288. .part2_content_left {
  1289. float: left;
  1290. width: 350px;
  1291. .content_a {
  1292. width: 350px;
  1293. height: 230px;
  1294. // margin-bottom: 25px;
  1295. .context111:nth-child(5n+1) {
  1296. width: 345px;
  1297. white-space: nowrap;
  1298. overflow: hidden;
  1299. text-overflow: ellipsis;
  1300. font-family: Microsoft YaHei, Microsoft YaHei;
  1301. font-weight: bold;
  1302. font-size: 18px;
  1303. color: #333333;
  1304. a {
  1305. color: #333333;
  1306. }
  1307. }
  1308. .context111 {
  1309. margin-bottom: 27px;
  1310. width: 345px;
  1311. white-space: nowrap;
  1312. overflow: hidden;
  1313. text-overflow: ellipsis;
  1314. font-family: Microsoft YaHei, Microsoft YaHei;
  1315. font-weight: 400;
  1316. font-size: 18px;
  1317. color: #333333;
  1318. a {
  1319. color: #333333;
  1320. }
  1321. }
  1322. .context111:hover a {
  1323. color: #a01c0e;
  1324. }
  1325. }
  1326. }
  1327. .part2_content_right {
  1328. float: right;
  1329. width: 350px;
  1330. height: 480px;
  1331. .right_top {
  1332. width: 350px;
  1333. height: 300px;
  1334. a img {
  1335. width: 350px;
  1336. height: 230px;
  1337. }
  1338. a .title11 {
  1339. margin-top: 15px;
  1340. width: 350px;
  1341. height: 48px;
  1342. display: -webkit-box;
  1343. -webkit-box-orient: vertical;
  1344. -webkit-line-clamp: 2;
  1345. overflow: hidden;
  1346. text-overflow: ellipsis;
  1347. word-break: break-all;
  1348. font-family: Microsoft YaHei, Microsoft YaHei;
  1349. font-weight: bold;
  1350. font-size: 18px;
  1351. color: #333333;
  1352. }
  1353. }
  1354. .right_top:hover {
  1355. color: #a01c0e;
  1356. a .title11 {
  1357. color: #a01c0e;
  1358. }
  1359. }
  1360. .right_bottom {
  1361. width: 350px;
  1362. height: 165px;
  1363. margin-top: 20px;
  1364. .bottom_left {
  1365. float: left;
  1366. width: 165px;
  1367. height: 130px;
  1368. a img {
  1369. width: 165px;
  1370. height: 96px;
  1371. }
  1372. a .title22 {
  1373. margin-top: 10px;
  1374. width: 165px;
  1375. height: 48px;
  1376. display: -webkit-box;
  1377. -webkit-box-orient: vertical;
  1378. -webkit-line-clamp: 2;
  1379. overflow: hidden;
  1380. text-overflow: ellipsis;
  1381. word-break: break-all;
  1382. font-family: Microsoft YaHei, Microsoft YaHei;
  1383. font-weight: 400;
  1384. font-size: 18px;
  1385. color: #333333;
  1386. }
  1387. }
  1388. .bottom_left:hover {
  1389. color: #a01c0e;
  1390. a .title22 {
  1391. color: #a01c0e;
  1392. }
  1393. }
  1394. .bottom_left:first-child {
  1395. margin-right: 20px;
  1396. }
  1397. }
  1398. }
  1399. }
  1400. }
  1401. .part2_right {
  1402. float: right;
  1403. width: 450px;
  1404. // height: 1000px;
  1405. .part2_right_title {
  1406. width: 450px;
  1407. height: 50px;
  1408. line-height: 50px;
  1409. .part2_right_title1_active {
  1410. float: left;
  1411. margin-right: 40px;
  1412. font-family: Microsoft YaHei, Microsoft YaHei;
  1413. font-weight: 400;
  1414. font-size: 20px;
  1415. color: #333333;
  1416. position: relative;
  1417. a {
  1418. color: #333333;
  1419. }
  1420. .active_bg11 {
  1421. display: inline-block;
  1422. width: 8px;
  1423. height: 8px;
  1424. background-color: #a01c0e;
  1425. border-radius: 4px;
  1426. position: absolute;
  1427. top: 7px;
  1428. right: -5px;
  1429. }
  1430. }
  1431. .part2_right_title1 {
  1432. float: left;
  1433. margin-right: 40px;
  1434. font-family: Microsoft YaHei, Microsoft YaHei;
  1435. font-weight: 400;
  1436. font-size: 20px;
  1437. color: #999999;
  1438. position: relative;
  1439. a {
  1440. color: #999999;
  1441. }
  1442. }
  1443. }
  1444. .part2_right_content {
  1445. width: 450px;
  1446. margin-top: 20px;
  1447. .part2_right_top11 {
  1448. width: 450px;
  1449. height: 170px;
  1450. position: relative;
  1451. .part2_right_content_top {
  1452. float: left;
  1453. width: 220px;
  1454. height: 180px;
  1455. a img {
  1456. width: 220px;
  1457. height: 130px;
  1458. }
  1459. a .content_top_title22 {
  1460. display: inline-block;
  1461. width: 220px;
  1462. padding: 0 10px;
  1463. box-sizing: border-box;
  1464. white-space: nowrap;
  1465. overflow: hidden;
  1466. text-overflow: ellipsis;
  1467. font-family: Microsoft YaHei, Microsoft YaHei;
  1468. font-weight: 400;
  1469. font-size: 18px;
  1470. color: #333333;
  1471. margin-top: 10px;
  1472. }
  1473. }
  1474. .part2_right_content_top:hover {
  1475. a .content_top_title22 {
  1476. color: #a01c0e;
  1477. }
  1478. }
  1479. .part2_right_content_top:nth-child(2) {
  1480. margin-left: 10px;
  1481. }
  1482. }
  1483. .part2_right_content_bottom {
  1484. width: 450px;
  1485. height: 300px;
  1486. margin-top: 20px;
  1487. overflow: hidden;
  1488. .content_bottom_list {
  1489. width: 450px;
  1490. height: 22px;
  1491. line-height: 21px;
  1492. white-space: nowrap;
  1493. overflow: hidden;
  1494. text-overflow: ellipsis;
  1495. margin-bottom: 28px;
  1496. font-family: Microsoft YaHei, Microsoft YaHei;
  1497. font-weight: 400;
  1498. font-size: 18px;
  1499. color: #333333;
  1500. a {
  1501. color: #333333;
  1502. }
  1503. }
  1504. .content_bottom_list:hover {
  1505. a {
  1506. color: #a01c0e;
  1507. }
  1508. }
  1509. }
  1510. }
  1511. }
  1512. }
  1513. }
  1514. //第三部分
  1515. .part3 {
  1516. width: 100%;
  1517. overflow: hidden;
  1518. // height: 1200px;
  1519. margin-top: 35px;
  1520. margin-bottom: 40px;
  1521. .inner {
  1522. width: 1200px;
  1523. height: 1200px;
  1524. background-color: #fff;
  1525. .part3_left {
  1526. float: left;
  1527. .part3_left_top {
  1528. width: 720px;
  1529. overflow: hidden;
  1530. .part3_leftTitle {
  1531. width: 720px;
  1532. height: 50px;
  1533. line-height: 50px;
  1534. .part3_left_title:first-child {
  1535. float: left;
  1536. margin-right: 20px;
  1537. width: 100px;
  1538. height: 50px;
  1539. line-height: 50px;
  1540. position: relative;
  1541. font-family: Microsoft YaHei, Microsoft YaHei;
  1542. font-weight: 400;
  1543. font-size: 20px;
  1544. color: #333333;
  1545. a {
  1546. color: #333333;
  1547. }
  1548. em {
  1549. display: inline-block;
  1550. width: 8px;
  1551. height: 8px;
  1552. background-color: #a01c0e;
  1553. border-radius: 4px;
  1554. position: absolute;
  1555. top: 9px;
  1556. right: 6px;
  1557. }
  1558. }
  1559. .part3_left_title {
  1560. float: left;
  1561. margin-right: 20px;
  1562. width: 100px;
  1563. height: 50px;
  1564. line-height: 50px;
  1565. position: relative;
  1566. font-family: Microsoft YaHei, Microsoft YaHei;
  1567. font-weight: 400;
  1568. font-size: 20px;
  1569. color: #999999;
  1570. a {
  1571. color: #999999;
  1572. }
  1573. // em{
  1574. // display: inline-block;
  1575. // width: 8px;
  1576. // height: 8px;
  1577. // background-color: #a01c0e;
  1578. // border-radius: 4px;
  1579. // position: absolute;
  1580. // top: 9px;
  1581. // right: 6px;
  1582. // }
  1583. }
  1584. }
  1585. .part3_left_content {
  1586. width: 720px;
  1587. margin-top: 20px;
  1588. .part3_left_content_top {
  1589. .content_top_left {
  1590. float: left;
  1591. width: 350px;
  1592. height: 484px;
  1593. .part3_photo_text {
  1594. width: 350px;
  1595. height: 280px;
  1596. position: relative;
  1597. img {
  1598. width: 350px;
  1599. height: 230px;
  1600. }
  1601. .littleTips {
  1602. display: inline-block;
  1603. width: 50px;
  1604. height: 26px;
  1605. line-height: 26px;
  1606. text-align: center;
  1607. background-color: #a01c0e;
  1608. font-family: Microsoft YaHei, Microsoft YaHei;
  1609. font-weight: 400;
  1610. font-size: 16px;
  1611. color: #fff;
  1612. position: absolute;
  1613. top: 0;
  1614. right: 10px;
  1615. }
  1616. .part3_text {
  1617. display: inline-block;
  1618. width: 350px;
  1619. height: 26px;
  1620. white-space: nowrap;
  1621. overflow: hidden;
  1622. text-overflow: ellipsis;
  1623. font-family: Microsoft YaHei, Microsoft YaHei;
  1624. font-weight: bold;
  1625. font-size: 18px;
  1626. color: #333333;
  1627. margin-top: 15px;
  1628. }
  1629. }
  1630. .part3_photo_text:hover {
  1631. .part3_text {
  1632. color: #a01c0e;
  1633. }
  1634. }
  1635. .part3_content {
  1636. width: 350px;
  1637. .part3_content_list:first-child {
  1638. width: 350px;
  1639. height: 25px;
  1640. white-space: nowrap;
  1641. overflow: hidden;
  1642. text-overflow: ellipsis;
  1643. font-family: Microsoft YaHei, Microsoft YaHei;
  1644. font-weight: bold;
  1645. font-size: 18px;
  1646. color: #333333;
  1647. line-height: 22px;
  1648. margin-top: 35px;
  1649. a {
  1650. color: #333333;
  1651. }
  1652. }
  1653. .part3_content_list:first-child:hover {
  1654. a {
  1655. color: #a01c0e;
  1656. }
  1657. }
  1658. .part3_content_list:last-child {
  1659. margin-bottom: 0;
  1660. }
  1661. .part3_content_list {
  1662. width: 350px;
  1663. height: 25px;
  1664. white-space: nowrap;
  1665. overflow: hidden;
  1666. text-overflow: ellipsis;
  1667. font-family: Microsoft YaHei, Microsoft YaHei;
  1668. font-weight: 400;
  1669. font-size: 18px;
  1670. color: #333333;
  1671. line-height: 22px;
  1672. margin-bottom: 27px;
  1673. a {
  1674. color: #333333;
  1675. }
  1676. }
  1677. .part3_content_list:hover {
  1678. a {
  1679. color: #a01c0e;
  1680. }
  1681. }
  1682. }
  1683. }
  1684. .content_top_right {
  1685. float: left;
  1686. width: 350px;
  1687. height: 542px;
  1688. border: 1px solid #D9D9D9;
  1689. margin-left: 20px;
  1690. padding: 30px 25px;
  1691. box-sizing: border-box;
  1692. .content_right_list {
  1693. width: 350px;
  1694. height: 58px;
  1695. line-height: 58px;
  1696. margin-bottom: 48px;
  1697. .part3_time {
  1698. float: left;
  1699. width: 77px;
  1700. height: 58px;
  1701. color: #a01c0e;
  1702. .month {
  1703. font-family: Microsoft YaHei, Microsoft YaHei;
  1704. font-weight: 400;
  1705. font-size: 26px;
  1706. color: #A01C0E;
  1707. line-height: 30px;
  1708. }
  1709. .xiegang {
  1710. font-size: 22px;
  1711. font-weight: 400;
  1712. }
  1713. .day {
  1714. font-family: Microsoft YaHei, Microsoft YaHei;
  1715. font-weight: 400;
  1716. font-size: 16px;
  1717. color: #A01C0E;
  1718. line-height: 19px;
  1719. }
  1720. }
  1721. .time_left_content {
  1722. float: left;
  1723. width: 231px;
  1724. height: 58px;
  1725. display: -webkit-box;
  1726. -webkit-box-orient: vertical;
  1727. -webkit-line-clamp: 2;
  1728. overflow: hidden;
  1729. text-overflow: ellipsis;
  1730. word-break: break-all;
  1731. line-height: 22px;
  1732. padding-top: 12px;
  1733. box-sizing: border-box;
  1734. font-family: Microsoft YaHei, Microsoft YaHei;
  1735. font-weight: 400;
  1736. font-size: 18px;
  1737. color: #333333;
  1738. border-left: 1px solid #D9D9D9;
  1739. padding-left: 22px;
  1740. a {
  1741. color: #333333;
  1742. }
  1743. a:hover {
  1744. color: #a01c0e;
  1745. }
  1746. }
  1747. }
  1748. .content_right_list:hover {
  1749. .time_left_content {
  1750. color: #a01c0e;
  1751. }
  1752. }
  1753. }
  1754. }
  1755. }
  1756. }
  1757. .part3_left_bottom {
  1758. width: 720px;
  1759. margin-top: 25px;
  1760. .part3_leftTitle1 {
  1761. width: 720px;
  1762. height: 50px;
  1763. line-height: 50px;
  1764. margin-bottom: 25px;
  1765. .part3_left_title_active {
  1766. float: left;
  1767. margin-right: 20px;
  1768. width: 100px;
  1769. height: 50px;
  1770. line-height: 50px;
  1771. position: relative;
  1772. font-family: Microsoft YaHei, Microsoft YaHei;
  1773. font-weight: 400;
  1774. font-size: 20px;
  1775. color: #333333;
  1776. a.active {
  1777. color: #333333;
  1778. }
  1779. em {
  1780. display: inline-block;
  1781. width: 8px;
  1782. height: 8px;
  1783. background-color: #a01c0e;
  1784. border-radius: 4px;
  1785. position: absolute;
  1786. top: 9px;
  1787. right: 6px;
  1788. }
  1789. }
  1790. .part3_left_title {
  1791. float: left;
  1792. margin-right: 20px;
  1793. width: 100px;
  1794. height: 50px;
  1795. line-height: 50px;
  1796. position: relative;
  1797. font-family: Microsoft YaHei, Microsoft YaHei;
  1798. font-weight: 400;
  1799. font-size: 20px;
  1800. color: #999999;
  1801. a {
  1802. color: #999999;
  1803. }
  1804. // em{
  1805. // display: inline-block;
  1806. // width: 8px;
  1807. // height: 8px;
  1808. // background-color: #a01c0e;
  1809. // border-radius: 4px;
  1810. // position: absolute;
  1811. // top: 9px;
  1812. // right: 6px;
  1813. // }
  1814. }
  1815. }
  1816. .part3_left_content1 {
  1817. width: 720px;
  1818. .content_bottom_left {
  1819. float: left;
  1820. width: 350px;
  1821. // height: 350px;
  1822. .content_top {
  1823. width: 350px;
  1824. img {
  1825. width: 350px;
  1826. height: 230px;
  1827. }
  1828. .part3_text {
  1829. display: inline-block;
  1830. width: 350px;
  1831. height: 50px;
  1832. line-height: 22px;
  1833. display: -webkit-box;
  1834. -webkit-box-orient: vertical;
  1835. -webkit-line-clamp: 2;
  1836. overflow: hidden;
  1837. text-overflow: ellipsis;
  1838. word-break: break-all;
  1839. margin-top: 15px;
  1840. font-family: Microsoft YaHei, Microsoft YaHei;
  1841. font-weight: bold;
  1842. font-size: 18px;
  1843. color: #333333
  1844. }
  1845. }
  1846. .content_top:hover {
  1847. .part3_text {
  1848. color: #a01c0e;
  1849. }
  1850. }
  1851. .content_bottom {
  1852. width: 350px;
  1853. margin-top: 20px;
  1854. .content_bottom_1 {
  1855. float: left;
  1856. width: 165px;
  1857. img {
  1858. width: 165px;
  1859. height: 96px;
  1860. }
  1861. .part3_text {
  1862. display: inline-block;
  1863. width: 165px;
  1864. height: 44px;
  1865. line-height: 22px;
  1866. display: -webkit-box;
  1867. -webkit-box-orient: vertical;
  1868. -webkit-line-clamp: 2;
  1869. overflow: hidden;
  1870. text-overflow: ellipsis;
  1871. word-break: break-all;
  1872. font-family: Microsoft YaHei, Microsoft YaHei;
  1873. font-weight: 400;
  1874. font-size: 18px;
  1875. color: #333333;
  1876. margin-top: 10px;
  1877. }
  1878. }
  1879. .content_bottom_1:hover {
  1880. .part3_text {
  1881. color: #a01c0e;
  1882. }
  1883. }
  1884. .content_bottom_1:first-child {
  1885. margin-right: 20px;
  1886. }
  1887. }
  1888. }
  1889. .content_bottom_right {
  1890. float: left;
  1891. margin-left: 20px;
  1892. width: 350px;
  1893. .bottom_content_1 {
  1894. width: 350px;
  1895. .bottom_content_list:nth-child(5n+1) {
  1896. font-weight: bold;
  1897. }
  1898. .bottom_content_list {
  1899. width: 350px;
  1900. height: 25px;
  1901. white-space: nowrap;
  1902. overflow: hidden;
  1903. text-overflow: ellipsis;
  1904. font-family: Microsoft YaHei, Microsoft YaHei;
  1905. font-weight: 400;
  1906. font-size: 18px;
  1907. color: #333333;
  1908. line-height: 21px;
  1909. margin-bottom: 25px;
  1910. a {
  1911. color: #333333;
  1912. }
  1913. }
  1914. .bottom_content_list:hover {
  1915. a {
  1916. color: #a01c0e;
  1917. }
  1918. }
  1919. }
  1920. .bottom_content_1:first-child {
  1921. margin-bottom: 20px;
  1922. }
  1923. .bottom_content_1:last-child {
  1924. .bottom_content_list:last-child {
  1925. margin-bottom: 0;
  1926. }
  1927. }
  1928. }
  1929. }
  1930. }
  1931. }
  1932. .part3_right {
  1933. float: right;
  1934. width: 451px;
  1935. .part3_rightTitle {
  1936. width: 451px;
  1937. height: 50px;
  1938. line-height: 50px;
  1939. .part3_right_title:first-child {
  1940. float: left;
  1941. margin-right: 20px;
  1942. width: 100px;
  1943. height: 50px;
  1944. line-height: 50px;
  1945. position: relative;
  1946. font-family: Microsoft YaHei, Microsoft YaHei;
  1947. font-weight: 400;
  1948. font-size: 20px;
  1949. color: #333333;
  1950. a {
  1951. color: #333333;
  1952. }
  1953. em {
  1954. display: inline-block;
  1955. width: 8px;
  1956. height: 8px;
  1957. background-color: #a01c0e;
  1958. border-radius: 4px;
  1959. position: absolute;
  1960. top: 9px;
  1961. right: 6px;
  1962. }
  1963. }
  1964. .part3_right_title {
  1965. float: left;
  1966. margin-right: 20px;
  1967. width: 100px;
  1968. height: 50px;
  1969. line-height: 50px;
  1970. position: relative;
  1971. font-family: Microsoft YaHei, Microsoft YaHei;
  1972. font-weight: 400;
  1973. font-size: 20px;
  1974. color: #999999;
  1975. a {
  1976. color: #999999;
  1977. }
  1978. // em{
  1979. // display: inline-block;
  1980. // width: 8px;
  1981. // height: 8px;
  1982. // background-color: #a01c0e;
  1983. // border-radius: 4px;
  1984. // position: absolute;
  1985. // top: 9px;
  1986. // right: 6px;
  1987. // }
  1988. }
  1989. .rightMore {
  1990. float: right;
  1991. font-family: Microsoft YaHei, Microsoft YaHei;
  1992. font-weight: 400;
  1993. font-size: 12px;
  1994. color: #999999;
  1995. a {
  1996. color: #999999;
  1997. }
  1998. }
  1999. }
  2000. .part3_right_content_top {
  2001. width: 451px;
  2002. height: 325px;
  2003. position: relative;
  2004. margin-top: 20px;
  2005. .part3_right_contentlist_top {
  2006. font-family: Microsoft YaHei, Microsoft YaHei;
  2007. font-weight: 400;
  2008. font-size: 18px;
  2009. color: #333333;
  2010. width: 425px;
  2011. height: 25px;
  2012. white-space: nowrap;
  2013. overflow: hidden;
  2014. text-overflow: ellipsis;
  2015. margin-bottom: 25px;
  2016. a {
  2017. color: #333333;
  2018. }
  2019. .numStyle {
  2020. display: inline-block;
  2021. width: 22px;
  2022. height: 22px;
  2023. background-color: #f6f6f6;
  2024. text-align: center;
  2025. margin-right: 20px;
  2026. font-family: Protest Strike, Protest Strike;
  2027. font-weight: 400;
  2028. font-size: 16px;
  2029. color: #CCCCCC;
  2030. border-radius: 4px;
  2031. }
  2032. }
  2033. .part3_right_contentlist_top:hover {
  2034. color: #a01c0e;
  2035. a {
  2036. color: #a01c0e;
  2037. }
  2038. }
  2039. .part3_right_contentlist_top:nth-child(1) {
  2040. .numStyle {
  2041. background-color: #a01c0e;
  2042. color: #fff;
  2043. }
  2044. }
  2045. .part3_right_contentlist_top:nth-child(2) {
  2046. .numStyle {
  2047. background-color: #FFC62E;
  2048. color: #fff;
  2049. }
  2050. }
  2051. .part3_right_contentlist_top:nth-child(3) {
  2052. .numStyle {
  2053. background-color: #e98008;
  2054. color: #fff;
  2055. }
  2056. }
  2057. .part3_right_contentlist_top:last-child {
  2058. margin-bottom: 10px;
  2059. }
  2060. }
  2061. .part3_photo_text_right {
  2062. width: 451px;
  2063. height: 120px;
  2064. margin-top: 35px;
  2065. margin-bottom: 35px;
  2066. background-color: #f6f3f0;
  2067. .part3_text11 {
  2068. float: left;
  2069. width: 271px;
  2070. height: 96px;
  2071. display: -webkit-box;
  2072. -webkit-box-orient: vertical;
  2073. -webkit-line-clamp: 3;
  2074. overflow: hidden;
  2075. text-overflow: ellipsis;
  2076. word-break: break-all;
  2077. font-family: Microsoft YaHei, Microsoft YaHei;
  2078. font-weight: 400;
  2079. font-size: 18px;
  2080. color: #333333;
  2081. padding: 25px 20px;
  2082. box-sizing: border-box;
  2083. }
  2084. img {
  2085. float: left;
  2086. width: 180px;
  2087. height: 120px;
  2088. }
  2089. }
  2090. .part3_photo_text_right:hover {
  2091. color: #a01c0e;
  2092. .part3_text11 {
  2093. color: #a01c0e;
  2094. }
  2095. }
  2096. .part3_right_content_11 {
  2097. width: 451px;
  2098. height: 70px;
  2099. position: relative;
  2100. .part3_right_contentlist_11 {
  2101. width: 451px;
  2102. height: 25px;
  2103. white-space: nowrap;
  2104. overflow: hidden;
  2105. text-overflow: ellipsis;
  2106. font-family: Microsoft YaHei, Microsoft YaHei;
  2107. font-weight: 400;
  2108. font-size: 18px;
  2109. color: #333333;
  2110. line-height: 21px;
  2111. .erjibiaoti {
  2112. display: inline-block;
  2113. width: 87px;
  2114. height: 24px;
  2115. font-family: Microsoft YaHei, Microsoft YaHei;
  2116. font-weight: 400;
  2117. font-size: 18px;
  2118. color: #A01C0E;
  2119. border-right: #D3D5D8 1px solid;
  2120. margin-right: 10px;
  2121. }
  2122. a {
  2123. color: #333333;
  2124. }
  2125. }
  2126. .part3_right_contentlist_11:hover {
  2127. color: #a01c0e;
  2128. a {
  2129. color: #a01c0e;
  2130. }
  2131. }
  2132. .part3_right_contentlist_11:first-child {
  2133. margin-bottom: 25px;
  2134. }
  2135. }
  2136. }
  2137. }
  2138. }
  2139. </style>